import 'package:flutter/material.dart';
import 'package:flutter_app/config/colorconfig.dart';

import '../setting.dart';

class aboutPage extends StatelessWidget {
  const aboutPage({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        iconTheme: IconThemeData(
          color: Colors.grey,
        ),
        centerTitle: true,
        title: Text(
          "关于Gonovo",
          style: TextStyle(color: Colors.black),
        ),
        elevation: 0,
        backgroundColor: Colors.white,
      ),
      body: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: <Widget>[
          Expanded(
            flex: 4,
            child: Center(
              child: Container(
                height: 150,
                width: 150,
                color: defaultgreen,
              ),
            ),
          ),
          Expanded(
              flex: 6,
              child: Column(
                children: <Widget>[
                  SettingListBottom(context, "功能介绍"),
                  SettingListBottom(context, "投诉"),
                  SettingListBottom(context, "检查新版本"),
                ],
              ))
        ],
      ),
    );
  }
}
